package org.budo.ehcache.replicator.factory;

import java.util.Properties;

import net.sf.ehcache.event.CacheEventListener;
import net.sf.ehcache.event.CacheEventListenerFactory;

/**
 * 产生利用Redis时间通知来同步分布式缓存的监听器
 * 
 * @author lmw
 */
public class EhcacheReplicatorFactory extends CacheEventListenerFactory {
    /**
     * CacheEventListener return this
     */
    @Override
    public CacheEventListener createCacheEventListener(Properties properties) {
        return new EhcacheReplicatorEventListener();
    }
}